import service from "../utils/request";
//获取收藏列表
export function getFavlist(ploay){
    return service.get('/good/favlist',{params:ploay})
}
//添加收藏
export function addFav(data){
    return service.post('/good/fav',data)
}
//取消收藏
export function removeFav(data){
    return service.post('/good/unfav',data)
}